﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using System.Collections;

namespace MySimpleWCFService
{
    /// <summary>
    /// Trace Information Object
    /// Author: alep@ciklum.net
    /// </summary>
    public class TraceData
    {
        #region Fields
        DateTime arrivalSent;
        DateTime arrivalReceived;
        DateTime departureSent;
        DateTime departureReceived;
        #endregion

        #region Properies
        /// <summary>
        /// Time when client sent packet
        /// </summary>
        public DateTime ArrivalSent
        {
            get { return arrivalSent; }
            set { arrivalSent = value; }
        }

        /// <summary>
        /// Time when server received packet
        /// </summary>
        public DateTime ArrivalReceived
        {
            get { return arrivalReceived; }
            set { arrivalReceived = value; }
        }

        /// <summary>
        /// Time when server finished work
        /// </summary>
        public DateTime DepartureSent
        {
            get { return departureSent; }
            set { departureSent = value; }
        }

        /// <summary>
        /// Time when client received answer
        /// </summary>
        public DateTime DepartureReceived
        {
            get { return departureReceived; }
            set { departureReceived = value; }
        }
        #endregion

    }
}
